package in.muton.edushare.pages.publicpages;

import in.muton.edushare.components.images.ProfileImage;
import in.muton.edushare.url.EduShareURLPanel;

import org.apache.wicket.markup.html.CSSPackageResource;
import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.IModel;

import com.edushare.common.constants.ApplicationConstants;
import com.edushare.common.vo.Users;

public class UserSquareLink extends Panel {
	private static final long serialVersionUID = 4689966017016664254L;

	public UserSquareLink(String id, IModel<Users> model) {
		super(id, model);
		add(CSSPackageResource.getHeaderContribution(UserSquareLink.class, "UserSquareLinkCSS.css"));
		add(new ProfileImage("image", model,
				ApplicationConstants.FILE_SUFFIX_HBADGE));
		add(new EduShareURLPanel("userLink", model));
	}
}
